package com.hnhcyy.goods.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * 关联商品
 */
public class SpitemRelation implements Serializable{

	private static final long serialVersionUID = 1L;
	/**
     * 主键id,自动生成
     */
	@JsonInclude(Include.NON_NULL)
    private Integer fid;
    /**
     * 主商品id
     */
    @JsonInclude(Include.NON_NULL)
    private String zspid;
    /**
     * 关联商品ID
     */
    @JsonInclude(Include.NON_NULL)
    private String glspid;
    /**
     * 显示序号
     */
    @JsonInclude(Include.NON_NULL)
    private Integer findex;
    /**
     * 关联类型:1.推荐商品
     */
    @JsonInclude(Include.NON_NULL)
    private Integer gltype;
    /**
     * 是否显示
     */
    @JsonInclude(Include.NON_NULL)
    private String isvisible;
    /**
     * 商家id
     */
    @JsonInclude(Include.NON_NULL)
    private Integer sjid;
    /**
     * 关联理由
     */
    @JsonInclude(Include.NON_NULL)
    private String context;
    /**
     * 创建时间
     */
    @JsonInclude(Include.NON_NULL)
    private Date created;
    /**
     * 创建人
     */
    @JsonInclude(Include.NON_NULL)
    private String author;
    /**
     * 修改时间
     */
    @JsonInclude(Include.NON_NULL)
    private Date updated;
    /**
     * 修改人
     */
    @JsonInclude(Include.NON_NULL)
    private String updateauthor;
    /**
     * 主商品名称
     */
    @JsonInclude(Include.NON_NULL)
    private String zspmch;
    /**
     * 关联商品名称
     */
    @JsonInclude(Include.NON_NULL)
    private String glspmch;
    /**
     * 关联商品表基本信息
     */
    @JsonInclude(Include.NON_NULL)
    private Goods goods;
    
	public Integer getFid() {
		return fid;
	}
	public void setFid(Integer fid) {
		this.fid = fid;
	}
	public String getZspid() {
		return zspid;
	}
	public void setZspid(String zspid) {
		this.zspid = zspid;
	}
	public String getGlspid() {
		return glspid;
	}
	public void setGlspid(String glspid) {
		this.glspid = glspid;
	}
	public Integer getFindex() {
		return findex;
	}
	public void setFindex(Integer findex) {
		this.findex = findex;
	}
	public Integer getGltype() {
		return gltype;
	}
	public void setGltype(Integer gltype) {
		this.gltype = gltype;
	}
	public String getIsvisible() {
		return isvisible;
	}
	public void setIsvisible(String isvisible) {
		this.isvisible = isvisible;
	}
	public Integer getSjid() {
		return sjid;
	}
	public void setSjid(Integer sjid) {
		this.sjid = sjid;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getUpdated() {
		return updated;
	}
	public void setUpdated(Date updated) {
		this.updated = updated;
	}
	public String getUpdateauthor() {
		return updateauthor;
	}
	public void setUpdateauthor(String updateauthor) {
		this.updateauthor = updateauthor;
	}
	public String getZspmch() {
		return zspmch;
	}
	public void setZspmch(String zspmch) {
		this.zspmch = zspmch;
	}
	public String getGlspmch() {
		return glspmch;
	}
	public void setGlspmch(String glspmch) {
		this.glspmch = glspmch;
	}
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	
 }